package com.web.hilover.mapper;

import com.web.hilover.entity.Comment;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
import java.util.Map;

@Mapper
public interface CommentMapper {
    List<Comment> findByCouple(Long coupleId);
    List<Map<String, Object>> findAllWithDetail();
    int insert(Comment comment);
    int deleteById(Long id);
    int incrementLikes(Long id);
    int count();
    List<Map<String, Object>> findByUserWithDetail(Long userId);
    List<Map<String, Object>> findRecentWithDetail(int limit);
} 